package com.estate.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Building;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface BuildingService extends IService<Building> {
    JsonResult findById(String id);

    JsonResult listByPage(int page, int size);

    JsonResult addBuilding(Building building);

    JsonResult updateBuilding(Building building);

    JsonResult deleteBuilding(String id);
}
